lib: make strmhz available in SPL
authorChris Packham <[email protected]>
Tue, 31 May 2016 08:30:59 +0000 (20:30 +1200)
committerTom Rini <[email protected]>
Mon, 6 Jun 2016 17:39:19 +0000 (13:39 -0400)
commitbe86492bdaeb8fdfd8d66bba79a9bd899531b8b0
treec54ee50509ea83d729e25ca3d22b804595605b9d
parent25bab53ab26efdb9e2024477f896be65b6e7191e
lib: make strmhz available in SPL

When setting up a DDR controller it is useful to be able to display
frequencies in a readable form. Make the strmhz() function available in
SPL builds provided there is full vsprintf available.

Reviewed-by: Tony O'Brien <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Chris Packham <[email protected]>
lib/Makefile